package org.lanqiao.admins;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@TableName("ws_admin")
@Data
public class Administrator implements Serializable {
        @TableId(value = "id",type = IdType.AUTO)
        private Integer id;
        @TableField(value = "login_name")
        private String name;
        private String password;
        private int status;
        private int role;
}
